<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/dist/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <title>配货单打印</title>
    <style>
        .container{
            text-align: center;
        }
        @media print {
            .noprint{ display:none;}
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>配货单信息</h1>
        <table class="table table-bordered">
            <tr>
                <td>服务名称</td>
                <td>规格属性</td>
                <td>数量</td>
                <td>单价</td>
                <td>小计</td>
            </tr>
            <foreach name="goodsList" item="item">
                <tr>
                    <td>{$item.goods_name}</td>
                    <td>{$item.attr_key_name}</td>
                    <td>{$item.goods_num}</td>
                    <td>{$item.price}</td>
                    <td>{$item['goods_num'] * $item['price']}</td>
                </tr>
            {/foreach}
        </table>
        <input type="button" class="btn btn-default noprint" onclick="window.print();" value="打印">
    </div>
</body>
</html>